﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Comunication;

namespace VehicleAgent.TCPCommands
{
    class NotifyServerStatus:Command
    {
        public NotifyServerStatus(bool status, int clientId, decimal distance)
        {
            Header = "REQ";
            Cmd = Commands.NOTIFY_VEHICLE_STATUS;
            Data = string.Format("{0}|{1}|{2}", status.ToString(), clientId.ToString(), distance.ToString("0,0.000"));
        }
    }
}
